tests: Exit valgrind tests if a leak is detected
authorAlexander Larsson <alexl@redhat.com>
Fri, 10 Jun 2016 11:28:08 +0000 (13:28 +0200)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 10 Jun 2016 12:14:40 +0000 (12:14 +0000)
commitd258b124a2e062a3b1adc7f6a7baef9d276020c4
tree3f63eb56e692ea311ca40b4015936cde8d77ddf4
parentf6b70a32e6fc6e31c35a5e2b63d7a9142a7ebffd
tests: Exit valgrind tests if a leak is detected

This fails the test if OT_TESTS_VALGRIND is set and valgrind
detects a leak.

Closes: #334
Approved by: cgwalters
tests/libtest.sh